package com.zjq.security.mapper;

import com.zjq.security.pojo.User;
import org.apache.ibatis.annotations.Select;

/**
 * @User zhangjiaqi
 * @Project security
 * @Package com.zjq.security.mapper
 * @Date 2022/3/28 20:18
 */
public interface UserMapper {

    @Select("SELECT * FROM `user` WHERE user_name = #{username}")
    User findByUsername(String username);

}
